package com.ruoyi.gd.ywdwgd.mapper;

import com.ruoyi.gd.ywdwgd.domain.ZYwdwgd;
import com.ruoyi.gd.ywdwgd.domain.bo.ZYwdwgdBo;
import com.ruoyi.gd.ywdwgd.domain.vo.ZYwdwgdVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 业务完工单Mapper接口
 *
 * @author ruoyi
 * @date 2024-08-01
 */
public interface ZYwdwgdMapper extends BaseMapperPlus<ZYwdwgdMapper, ZYwdwgd, ZYwdwgdVo> {

    List<ZYwdwgdVo> queryListByIds(String[] ids);

    List<ZYwdwgdVo> queryAllList();

    int handleZt(@Param("array") String[] ids, @Param("type") String type);

    void deleteYwdWgdAll();

    List<ZYwdwgdVo> verifyBh(String bh);

    int batchUpdateByWgbh(ZYwdwgdBo zywdwgdList);

    int batchUpdateZt(@Param("bo") ZYwdwgdBo bo, @Param("ids") String[] ids);

    int updateShByKhId(@Param("khid") String id, @Param("sh") String sh);
}
